minesweeper
Class MineSweeperView
java.lang.Object
org.jdesktop.application.AbstractBean
org.jdesktop.application.View
org.jdesktop.application.FrameView
minesweeper.MineSweeperView
public class MineSweeperView
- extends org.jdesktop.application.FrameView
The application's main frame.
Field Summary |
javax.swing.JToggleButton[][] |
tbarray
|
Constructor Summary |
MineSweeperView(org.jdesktop.application.SingleFrameApplication app)
|
Methods inherited from class org.jdesktop.application.FrameView |
getFrame, getRootPane, setFrame |
Methods inherited from class org.jdesktop.application.View |
getApplication, getComponent, getContext, getMenuBar, getResourceMap, getStatusBar, getToolBar, getToolBars, setComponent, setMenuBar, setStatusBar, setToolBar, setToolBars |
Methods inherited from class org.jdesktop.application.AbstractBean |
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tbarray
public javax.swing.JToggleButton[][] tbarray
MineSweeperView
public MineSweeperView(org.jdesktop.application.SingleFrameApplication app)
checkArea
public void checkArea(int index)
setArr
public void setArr()
showAboutBox
@Action
public void showAboutBox()
findIndex
public void findIndex(java.awt.event.MouseEvent evt)
ifZero
public void ifZero(int a,
int b)
clickButtons
public void clickButtons(int a,
int b)
ifMoreZeros
public void ifMoreZeros()
getNumMines
public int getNumMines(int a,
int b)
toggleButtonAction
@Action
public void toggleButtonAction()
test12
@Action
public void test12()